package com.todo.biz.infrastructure.repository;


import com.todo.common.common.entity.response.page.PageResult;
import com.todo.biz.infrastructure.entity.condition.ExamineRecordCondition;
import com.todo.biz.infrastructure.entity.po.BizExamineRecordPO;

import java.util.List;

/**
 * (BizExamineRecord)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 21:10:03
 */
public interface BizExamineRecordRepository {

    /**
     * 分页多条件查询检查信息
     *
     * @param examineRecordCondition
     * @return
     */
    PageResult<BizExamineRecordPO> queryBizExamineRecordByCondition(ExamineRecordCondition examineRecordCondition);

    /**
     * 根据主键id查询审核信息
     *
     * @param id
     * @return
     */
    BizExamineRecordPO queryBizExamineRecordPOById(Long id);

    /**
     * 根据业务id查询审核信息列表
     *
     * @param businessId
     * @return
     */
    List<BizExamineRecordPO> queryBizExamineRecordPOByBusinessId(Long businessId);

    /**
     * 新增审核信息
     *
     * @param bizExamineRecordPO
     * @return
     */
    Boolean insertBizExamineRecordPO(BizExamineRecordPO bizExamineRecordPO);

    /**
     * 根据主键更新审核信息
     *
     * @param bizExamineRecordPO
     * @return
     */
    Boolean updateBizExamineRecordPOById(BizExamineRecordPO bizExamineRecordPO);

    /**
     * 删除审核信息
     *
     * @param id
     * @return
     */
    Boolean removeBizExamineRecordPOById(Long id);


}
